/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cc.altius.dao;

import cc.altius.model.Message;
import java.util.List;
import java.util.Map;

/**
 *
 * @author mudassar
 */
public interface MessageDao {
    
    public int addMessage(Message message, String selectedCustomerIds);
    
    public List<Map<String, Object>> getMessageList(int sentTo, String startDate, String stopDate, int sentBy);
    
    public int getMessageCountByUserId(int userId);
    
    public int getunReadMessageCountForCurUser(int userId);
    
    public void updateStatus(int messageId);
    
    public Message getMessageDetails(int messageId);
}
